<section id="content">
    
    <!-- Tableau obligatoire ! Structure du calendrier ! -->
    <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
        <tr>
            <td id="ds_calclass"></td>
        </tr>
    </table>

    <!-- -->
    
    
    <h1 class="article">{#NOUVEAU_VERSEMENT#}</h1>
    
    
    <form class="article buttons" name="VersementAjouter" action="?action=AjouterVersement" method="post" >
        
        <fieldset class="form-text">
            <label>{#PERSONNE_NO#}</label>
            <input type="text" name="PersonneNo" value="{if isset($PersonneNo)}{$PersonneNo}{/if}" />
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#ANIMAL_NO#}</label>
            <input type="text" name="AnimalNo" value="{if isset($AnimalNo)}{$AnimalNo}{/if}" />
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#CONTRAT_NO#}</label>
            <input type="text" name="ContratNo" value="{if isset($ContratNo)}{$ContratNo}{/if}" />
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#MONTANT#}<em>*</em></label>
            <input type="text" name="MontantCHF" value="{if isset($MontantCHF)}{$MontantCHF}{/if}" id="montant" class="validate[required,custom[onlyNumber]]"/>
        </fieldset>
        
        <fieldset>
            <label>{#MOTIF#} <em>*</em></label>
            <select name="Motif" value="{if isset($Motif)}{$Motif}{/if}" id="motif" class="validate[required]">
                <option value="null">---</option>
                <option value="Cotisation">{#COTISATION#} </option>
                <option value="Donnation">{#DONNATION#}</option>
                <option value="Adoption provisoire">{#ADOPTION_PROV#}</option>
                <option value="Cession">{#CESSION_PROP#}</option>
                <option value="Pension">{#PENSION#} </option>
                <option value="Restitution">{#RESTITUTION#} </option>
                <option value="Placement">{#PLACEMENT#}</option>
            </select>
        </fieldset>
            
        <fieldset class="form-text">
            <label>{#DATE_VERSEMENT#}<em>*</em></label>
            <input type="text" name="DateVersement"  onClick="ds_sh(this);" value="{if isset($DateVersement)}{$DateVersement}{/if}" id="date" class="validate[required,custom[date]] text-input" />
        </fieldset>
        
        <fieldset class="form-text">
            <label>{#NO_CCP#}<em>*</em></label>
            <input type="text" name="CCPNo" value="{if isset($CCPNo)}{$CCPNo}{/if}" />
        </fieldset>
        
        <fieldset class="form-text long haut">
            <label>{#REMARQUES#}</label>
            <textarea name="Remarques" value="{if isset($Remarques)}{$Remarques}{/if}" rows="2" cols="50"></textarea>
        </fieldset>
        
       <fieldset class="form-actions">
            {if isset($versement)}<input type="submit" class="submit" name="modifierContrat" value="{#MODIEFIER#}" />{else}<input type="submit" class="submit" name="ajouterContrat" value="{#ENREGISTRER#}" />{/if}
        </fielset 
    
    
    
    </form>


</section>